
import axios from '@/api/fetch';
import SERVER from './../../server'


// 查询购车因素列表
export const searchCarBuyingFactor = params => axios.get(`${SERVER.CYXDMS_CLUE}/customerManage/carBuyingFactor`, { params });

//购车因素新增
export const addCarBuyingFactor = params => axios.post(`${SERVER.CYXDMS_CLUE}/customerManage/carBuyingFactor`, params);

//购车因素编辑
export const editCarBuyingFactor = (id, params) => axios.put(`${SERVER.CYXDMS_CLUE}/customerManage/carBuyingFactor/${id}`, params);
